#include <iostream>
#include <unordered_map>
#include <string>

using namespace std;

int main() {
	string str;
	cin >> str;
	unordered_map<char, int> count;

	for (char i = 'A'; i <= 'Z'; ++i) {
		count[i] = 0;
	}
	for ( int i = 0; i < str.length(); ++i ) {
		if (str[i] >= 'A' && str[i] <= 'Z') {
			++count[str[i]];
		}
	}

	for (char i = 'A'; i <= 'Z'; ++i) {
		cout << i << ":" << count[i] << "\n";
	}

	return 0;
}